@charset "utf-8";

/** 清除内外边距 **/
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
th, td /* table elements 表格元素 */
{
    margin: 0;
    padding: 0;
}

/** 常规样式设置 **/
a {
    background-color: transparent
}

main {
    display: block;
}

img {
    vertical-align: top;
}

textarea {
    resize: none;
    overflow: auto;
}

/** 设置默认字体 **/
body,
button, input, select, textarea /* for ie */
{
    font: 12px/1 "Microsoft YaHEI", "Arial";
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

address, cite, dfn, em, var, i {
    font-style: normal;
}

/* 将斜体扶正 */
code, kbd, pre, samp {
    font-family: courier new, courier, monospace;
}

/* 统一等宽字体 */
small {
    font-size: 12px;
}

/* 小于 12px 的中文很难阅读，让 small 正常化 */

/** 重置列表元素 **/
ul, ol {
    list-style: none;
}

/** 重置文本格式元素 **/
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


/** 重置表单元素 **/
legend {
    color: #333;
}

/* for ie6 */
fieldset, img {
    border: 0;
}

/* img 搭车：让链接里的 img 无边框 */
button, input, select, textarea {
    vertical-align: middle;
    font-size: 100%;
}

/* 使得表单元素在 ie 下能继承字体大小 */
button, input {
    border: none;
    outline: none;
    /*清除移动端默认的表单样式*/
    -webkit-appearance: none;
}

/** 重置表格元素 **/
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 去掉number输入框右边点击上下的小三角 */
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/*placeholder 文字颜色设置*/
input::-moz-placeholder,
input::-ms-input-placeholder,
input::-webkit-input-placeholder,
textarea::-moz-placeholder,
textarea::-ms-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #bbb;
}

/* 去掉select的默认样式 */
select {
    -webkit-appearance: none;
}

/* 如果有输入内容IE会给输入框右边加一个大大的X */
input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

/*透明度*/
.transparent {
    filter: alpha(opacity=70);
    -khtml-opacity: 0.7;
    -moz-opacity: 0.7;
    opacity: 0.7;
}

/* 清除浮动 */
.clearfix:after,
.clearFix:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

.clearfix,
.clearFix {
    *zoom: 1;
}

/* 清除伪类样式 */
:focus {
    outline: none;
}

:link,
:visited {
    text-decoration: none;
}

a:focus {
    outline: none;
}

a:active,
a:hover {
    outline: 0;
}

/* common css */
.fl {
    float: left !important;
}

.fr {
    float: right !important;
}

.w {
    width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Microsoft YaHEI", "Arial";
    font-weight: 500;
}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small,
.h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small {
    font-weight: normal;
    line-height: 1;
    color: #ACB0BA;
}


.text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
